package com.hgw.Demo08_StatePattern.ShareStatePattern;

/**
 * Data time:2021/12/19 21:11
 * StudentID:2019112118
 * Author:hgw
 * Description: 抽象状态类
 */
public abstract class SwitchState {
    public abstract void on(Switch s);
    public abstract void off(Switch s);
}
